import ast
from twisted.plugin import IPlugin
from dopplershift.core.plugins.interfaces import IDSPlugin
from zope.interface import implements
from dopplershift.core.containers.mediator import getMediator

class DSDefaultMQBackend(object):
    implements(IDSPlugin, IPlugin)
    application = 'backend.mq'
    name = 'default'
    def configure(self, config):
        getMediator().register("MQ_%s"%self.name)